/*
 * IFile.h
 *
 */

#ifndef IFILE_H_
#define IFILE_H_

#include <fstream>
#include "Types.h"

class IFile {
public:
	virtual ~IFile() {}
	virtual bool open(const String& path, bool create = false) = 0;
	virtual void create(const String& path) = 0;
	virtual void close() = 0;
	virtual const String& getPath() const = 0;
};

#endif /* IFILE_H_ */
